/*
 * Clock.c
 *
 *  Created on: 30.11.2011
 *      Author: Christian St�veken christian.Stoeveken@googlemail.com
 *      Author: Jonas Wilhelm wilheljo@googlemail.com
 *      Author: Jannik Müller jannik-mpunkt@web.de
 */


#include "Clock.h"
#include <time.h>

// stuff to init the clock here

int getTime(void) {
        
        //time since epoch
	int seconds;
        seconds = (int) (time (NULL)%3600);    //mod 3600 to get the seconds past last full hour
        
	return seconds;
}
